package com.easyjava.qingke.project.mybatis.pojo;

public class Material {
    private Integer id;

    private String code;

    private String name;

    private String type;

    private String unit;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit == null ? null : unit.trim();
    }

	@Override
	public String toString() {
		return "Material [id=" + id + ", code=" + code + ", name=" + name + ", type=" + type + ", unit=" + unit + "]";
	}
    
}